#include "global.h"

SCmdArg g_stCmdArg;

void SCmdArg::m_vClear()
{
    memset(m_acIP, 0, sizeof(m_acIP));
    m_iPort = 0;
    memset(m_acURI, 0, sizeof(m_acURI));
    memset(m_acHTTPType, 0, sizeof(m_acHTTPType));
    memset(m_acProtoFilePath, 0, sizeof(m_acProtoFilePath));
    memset(m_acJsonFilePath, 0, sizeof(m_acJsonFilePath));
}

void SCmdArg::m_vShow()
{
    printf("m_acIP = %s\n", m_acIP);
    printf("m_iPort = %d\n", m_iPort);
    printf("m_acURI = %s\n", m_acURI);
    printf("m_acHTTPType = %s\n", m_acHTTPType);
    printf("m_acProtoFilePath = %s\n", m_acProtoFilePath);
    printf("m_acJsonFilePath = %s\n", m_acJsonFilePath);
}

